import axios from '~/axios'
import { getCache } from '~/composables/localStorage'
import { constant } from '~/utils/globalv'

export function getUserTableStyles(){
  const userInfo = getCache(constant.userInfo)
  const userSid = userInfo.sysUser.userid
  return axios.post(`/bmsSysTableStyle/getUserTableStyles/${userSid}`)
}

export function saveBatch(tableData){
  return axios.post('/bmsSysTableStyle/multiSave', tableData)
}
